package com.joven.shelltest.dto;

import lombok.Data;

import javax.validation.constraints.Digits;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Author: wzj
 * @Date: 2024/5/29 11:38
 */
@Data
public class ValidTestDto implements Serializable {

    private static final long serialVersionUID = 2219278536762513695L;

    @Digits(integer = 3, fraction = 0, message = "请输入有效的数字")
    private BigDecimal  price;
}
